package iface

import "io"

type IBuffer interface{
	ApplyBufferSize(int)[]byte
}

type IParser interface {
	Marshal(msg interface{}) ([]byte, error)
	UnMarshal([]byte) (interface{}, error)
}


type IConnReader interface{
	Read(reader io.Reader,buff IBuffer)(interface{},error)
}